package com.jsb.laundry.common.enums;

/**
 * 定义状态码
 */
public enum ReturnStatusCode {

    SUCCESS("200", "成功"),
    INTERFACE_NOT_IMPL("2000", "接口暂未实现"),
    ACCOUNT_NOT_FOUND("2001", "账号不存在"),
    LOGIN_FAIL("2002", "账号或密码错误,请重新登录"),

    ERROR("5000", "服务器内部错误"),
    SAVE_ERROR("5001", "数据保存失败"),
    ORDER_LOSE_EFFICACY("5002", "订单已失效"),
    ORDER_EXCEPTION("5003", "订单异常"),
    PARAMETER_INCOMPLETE("10000", "请求参数错误"),
    WX_LOGIN_ERROR("100001", "登录失败，请重新登录"),
    WX_WITHDRAWAL_ERROR("100002", "提现超出"),
    WX_ID_ERROR("100003", "为保证资金安全，请实名认证"),
    FEEDING("100004", "投喂时间未到哦~"),
    REPEAT_FEEDING("100005", "请勿重复领养宠物~"),
    NOT_REACHED("100005", "经验未达到~"),
    NOT_SVIP("100006", "您还不是vip~"),
    NOT_EXP("100007", "经验不足~"),
    CLAIM_PLANT("100008", "请勿重复领取植物~"),
    IRRIGATION("100009", "灌溉时间未到哦~"),
    USER_ADDRESS("100010", "收货地址为空"),
    PAY_PULL_UP_FAIL("100011", "支付拉起失败"),
    WX_USER_ACCOUNT_ABNORMAL("100012", "当前账号异常"),
    WX_USER_ACCOUNT_BALANCE_DEFICIENCY("100013", "账户可提现余额不足"),
    WX_USER_ACCOUNT_BALANCE_TIME_LIMIT("100014", "余额不足或未到金额提现时间"),
    UNAVAILABLE_COUPON("100015", "订单金额不满足优惠券使用要求"),
    NOT_FOUND_COUPON("100016", "未发现可领取的优惠券"),


    SCHOOL_UNAVAILABLE("100017", "当前卡券不可使用,请关注可使用时间"),

    REPEAT_SUBMIT_ORDER("100018", "请勿重复提交订单或订单失效"),
    BINDING_BANK("100019", "一个账号只能绑定一张银行卡"),
    ORDER_INFO_FAIL("100020", "订单信息不完善"),
    ACTIVITY_ALREADY_JOIN("100021", "很荣幸您已经参与过该活动,您的支持和积极参与令我们感到十分欣慰"),
    CURRENT_NOT_SUPPORT_SERVICE("100022", "当前服务暂不支持"),
    PLEASE_FILL_IN_THE_PAYMENT_METHOD("100023", "请填写登录方式"),
    THERE_IS_NO_SUCH_PAYMENT_METHOD("100024", "没有这种登录方式"),
    PLEASE_SELECT_LOGIN_STATUS("100025", "请选择登录状态在线"),
    WX_FLAG("100026", "请购买理约金"),
    IF_THE_ORDER_IS_ABNORMAL_PLEASE_CONTACT_CUSTOMER_SERVICE("100027", "如果订单异常请求联系客户服务"),
    PLEASE_ENTER_THE_NECESSARY_PARAMETERS("100028", "请输入必要的参数"),
    THIS_ORDER_IS_NOT_FOR_CHANGING_RIDERS_PLEASE_CONTACT_CUSTOMER_SERVICE("100029", "该订单不是改骑手请联系客服"),
    MAXIMUM_NUMBER_OF_EXAMS("100030", "考试次数上限"),
    FAILURE_TO_PASS_THE_ON_THE_JOB_EXAM("100031", "上岗考试不合格"),
    PLEASE_PUT_ON_THE_PICTURE("100032", "请上传图片"),
    PUREPHONENUMBER_NOT_FOUND("100033", "手机号无法获取"),
    COUPON_USERD("100034", "优惠券已被使用,请重新下单"),
    SCHOOL_CARD_UNUSABLE("100035", "当前卡券不可使用,请关注可使用时间"),
    WITHDRAWAL_AMOUNT_EXCEEDS("100036", "当前提现金额超出"),
    THE_CURRENT_ACCOUNT_BALANCE_IS_INSUFFICIENT("100037", "提现金额不能小于10元"),
    REPEAT("100038", "订单被他人领先抢走咯"),
    ERRORSRIDER("100039", "很遗憾，您未能通过上岗前培训考试。请您认真准备后继续考试。"),
    OK("100040", "恭喜您顺利通过聚洗衣专员上岗前培训考试，请联系客服安排后续上岗流程培训。祝您工作顺利！"),
    PLEASE_FILL_IN_USERID("100041", "userId不存在"),
    MONEY_NO("100042", "请填写金额"),
    PLEASE_SET_IN("100043", "请联系聚洗衣客服,进行入驻"),
    PHONE_CODE_RE_ERRORS("100044", "手机格式错误，请检查后尝试"),
    PHONE_LOGIN_ERROR("100045", "手机号不存在，请注册后登录"),
    VER_CODE_EXPIERED("100046", "验证码已过期,请重新获取"),
    VER_CODE_ERROR("100047", "验证码错误,请重新输入"),
    ACCOUNT_NOTFOUND_SHOPS("100048", "当前账号下暂无店铺，请联系聚洗衣客服"),
    INSUFFICIENT_NUMBER_OF_LOTTERY_DRAWS("100049", "抽奖次数不足"),
    THE_PRIZE_IS_NO_LONGER_AVAILABLE("100050", "奖品已经没有啦"),
    INVITATION_TIMES_ONLINE("100051", "邀请次数上线"),
    SHOP_IN_CHECK_STATUS("100052", "未检查订单数量:"),

    ABNORMAL_ORDER_ALREADY_EXISTS("100053", "异常单已存在"),

    SHOP_ADD_BANK_CARD_FAIL("100053", "添加银行卡信息失败"),
    SHOP_TX_BANK_CARD_FAIL("100054", "未绑定银行卡或银行卡不可用,请联系聚洗衣客服"),
    SHOP_TX_BANK_CARD_BALANCE_FAIL("100055", "可提现金额不足"),
    RECEIVED_THE_COUPON("100056", "领取过该优惠券"),
    THE_PHONE_NUMBER_IS_INCONSISTENT("100057", "该手机号不一致"),
    THE_CURRENT_ORDER_DOES_NOT_MATCH("100058", "当前订单不匹配"),


    ;


    private String code;

    private String msg;

    ReturnStatusCode(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
